package org.builder.xml;

import java.util.ArrayList;
import java.util.List;
import java.util.Set;
import java.util.SortedSet;
import java.util.TreeSet;

public class Menu {

	private String name;
	
	private Set<MenuItem> items = new TreeSet<MenuItem>();

	
	public void addItems(MenuItem menuItem){
		items.add(menuItem);
	}
	
	public Set<MenuItem> getItems() {
		return items;
	}

	public void setItems(Set<MenuItem> items) {
		this.items = items;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

}
